package MBTI

import (
	"chinasoccer/models"
	"chinasoccer/pkg/app"
	"chinasoccer/pkg/e"
	"github.com/gin-gonic/gin"
)


func TestAnswer(c *gin.Context) {

	err,info,result:= models.UploadAnswer(c)

	if err !=nil{
		app.Error(c,e.ERROR,err,err.Error())
		return
	}
	app.OK(c,map[string]interface{}{"value": info, "result": result},"OK")

}
